package com.platform.entity;

import java.io.Serializable;
import org.hibernate.validator.constraints.Range;

/**
 * 名称：SmsConfig <br> 描述：短信配置信息<br>
 *
 * @author 李鹏军
 * @version 1.0
 * @since 1.0.0
 */
public class SmsConfig implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 类型 1：创瑞
   */
  @Range(min = 1, max = 3, message = "类型错误")
  private Integer type;

  /**
   * 短信发送域名
   */
  private String domain;

  /**
   * 用户名
   */
  private String name;

  /**
   * 密码(md5加密)
   */
  private String pwd;

  /**
   * 签名
   */
  private String sign;

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public String getDomain() {
    return domain;
  }

  public void setDomain(String domain) {
    this.domain = domain;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getPwd() {
    return pwd;
  }

  public void setPwd(String pwd) {
    this.pwd = pwd;
  }

  public String getSign() {
    return sign;
  }

  public void setSign(String sign) {
    this.sign = sign;
  }
}
